-- GENERATED SPELL FOR [Fearsome Horror] --


function spell0_24073(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(49861,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24073', 8000, 1)
end

function Sorts_24073(pUnit, Event)
local choix_sorts_24073 = math.random(0, 0)
if choix_sorts_24073 == 0 then
pUnit:RegisterEvent('spell0_24073', 1, 1)
end
end

function mob24073_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24073', math.random(1500, 3000), 1)
end

function mob24073_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24073_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24073_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24073, 1, 'mob24073_Action')
RegisterUnitEvent(24073, 2, 'mob24073_Leave')
RegisterUnitEvent(24073, 3, 'mob24073_Kill')
RegisterUnitEvent(24073, 4, 'mob24073_Die')
